/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farmcode.api.runtime;

import com.farmcode.api.log.StackTrace;
import com.farmcode.api.runtime.metadata.ObjectInfo;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author oiprado
 * Fecha: Junio 25 de 2009
 * Descripcion:
 * Permite almacenar los objetos de tipo DataBaseObject por nombre de tabla.
 */
public class Metadata implements Serializable {

  /**
   *
   */
  private static final long serialVersionUID = 1L;
  private List<List<ObjectInfo>> objectInfos;
  private StackTrace trace;

  /** Contructor por defecto  **/
  public Metadata() {
    super();
    trace = new StackTrace();
    objectInfos = new ArrayList<List<ObjectInfo>>();
  }

  
  /**
   * @return the trace
   */
  public StackTrace getTrace() {
    return trace;
  }

  /**
   * @param trace the trace to set
   */
  public void setTrace(StackTrace trace) {
    this.trace = trace;
  }

  /**
   * @return the objectInfos
   */
  public List<List<ObjectInfo>> getObjectInfos() {
    return objectInfos;
  }

  /**
   * @param objectInfos the objectInfos to set
   */
  public void setObjectInfos(List<List<ObjectInfo>> objectInfos) {
    this.objectInfos = objectInfos;
  }


}
